package org.jeecg.modules.flowable.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "flow_model")
@ApiModel(value = "flow_model对象", description = "流程模型管理")
public class FlowModel implements Serializable {

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.NONE)
    private String id;

    @ApiModelProperty(value = "模型key", required = true)
    private String modelKey;

    @ApiModelProperty(value = "模型名称", required = true)
    private String modelName;

    @ApiModelProperty(value = "分类id", required = true)
    private Long categoryId;

    @ApiModelProperty(value = "分类名称", required = true)
    private String categoryName;

    @ApiModelProperty(value = "使用状态")
    private Integer useStatus;

    @ApiModelProperty(value = "流程定义id")
    private String processDefinitionId;

    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;

    @ApiModelProperty(value = "业务表单key")
    private String businessKey;

    @ApiModelProperty(value = "业务表单名称")
    private String businessName;

    @ApiModelProperty(value = "业务表单参数格式")
    private String businessParams;

}
